<template>
  <struc header footer>
    <head-nav-bar slot="header" title="今日签到"/>
    <div slot="main">
      <!--<van-datetime-picker-->
        <!--v-model="currentDate"-->
        <!--type="datetime"-->
        <!--:min-date="minDate"-->
        <!--:max-date="maxDate"-->
      <!--/>-->
      <van-datetime-picker
        v-model="currentDate1"
        type="time"
        :min-hour="minHour"
        :max-hour="maxHour"
        :min-minute="minMinute"
        :max-minute="maxMinute"
      />
    </div>
    <foot-nav slot="footer" :navIndex="2" />
  </struc>
</template>
<script>
  export default {
    name: 'sign',
    data() {
      return {
        currentDate: new Date(),
        minDate: new Date(),
        maxDate: new Date(2019, 12, 30),

        currentDate1: '12:00',
        minHour: 5,
        maxHour: 20,
        minMinute: 0,
        maxMinute: 30
      }
    },
    methods: {
      onClickLeft() {
        this.$router.go(-1)
      }
    }
  }
</script>
<style lang="scss" scoped>


</style>
